package com.freestyle.seatabusiness.order;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * Created by rocklee on 2021/12/16 12:04
 */
@SpringBootApplication(scanBasePackages = {"com.freestyle"})
@MapperScan({"com.freestyle.seatabusiness.order.**.dao",
        "com.freestyle.seatabusiness.storage.**.dao"})
@EnableAspectJAutoProxy(proxyTargetClass=true,exposeProxy = true)
@EnableDiscoveryClient
public class OrderApplication {
  public static void main(String[] args) {
    SpringApplication.run(OrderApplication.class, args);
  }
}
